package com.neusoft.neu24.service;

import com.neusoft.neu24.Result.CommonResult;
import com.neusoft.neu24.entity.Role;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface IRoleService {

    CommonResult<List<Role>> listAll();

    CommonResult<Integer> add(Role role);

    CommonResult<Integer> editById(Role role);

    CommonResult<Integer> deleteById(Role role);

    CommonResult<List<Integer>> loadById(Integer rid);

    CommonResult<List<Integer>> authEditById(Integer rid, List<Integer> sids);
}
